#include "PullUpClimber.h"

PullUpClimber::PullUpClimber() {
	// Use requires() here to declare subsystem dependencies
	// eg. requires(chassis);
}

// Called just before this Command runs the first time
void PullUpClimber::Initialize() {
	
}

// Called repeatedly when this Command is scheduled to run
void PullUpClimber::Execute() {
//	if(DriverStation::GetInstance()->GetMatchTime()>=119 && climbing->thePopper.Get()){
//		CommandBase::climbing->PullUpClimber();
//	}else if(DriverStation::GetInstance()->GetMatchTime()>=119){
//	climbing->thePopper.Set(true);
//	} else{
//		climbing->thePuller.Set(false);
//	}
	Climbing::PullUpClimber(CommandBase::climbing);
		
}

// Make this return true when this Command no longer needs to run execute()
bool PullUpClimber::IsFinished() {
	return true;
}

// Called once after isFinished returns true
void PullUpClimber::End() {
	
}

// Called when another command which requires one or more of the same
// subsystems is scheduled to run
void PullUpClimber::Interrupted() {
}
